WuAdBlockGuard\Frontend C

Total Complexity 117
Dependencies 2
Dependents 0
Total lines 598
Lines of code 374
Logical lines of code 241
Comment lines 90
Methods 28
Properties 8

Methods 28

Method Rating Maintainability Complexity Lines of code
getUserGroupSettings()
B
46 17 37
isCurrentPageTypeExcluded()
A
48 15 32
get_wuadblockguard_settings()
A
45 9 43
isCurrentWooCommercePageTypeExcluded()
A
54 9 22
canRenderOnIgnoredUrls()
S
52 7 24
isRenderable()
S
55 6 23
canRenderOnSpecialPages()
S
58 6 15
canRenderOnWooCommercePages()
S
58 6 15
canRenderOnExcludedPosts()
S
58 5 14
runModeFrontend()
S
58 3 16
render_footer_content()
S
65 4 9
canRenderOnExcludedPages()
S
62 3 11
getRole()
S
64 3 10
isUserOverlayEnabled()
S
64 3 9
renderAdBlock()
S
59 2 14
__construct()
S
61 2 13
isRegistrationPage()
S
78 2 3
get_instance()
S
66 2 9
outputDebug()
S
69 2 7
getCurrentRelativePath()
S
71 2 5
output_to_console()
S
68 2 7
runModeDemo()
S
61 1 12
isPathMatchingPattern()
S
66 1 8
getUserOverlaySettings()
S
80 1 3
is_checkbox_checked()
S
80 1 3
isDebug()
S
82 1 3
isEnabled()
S
76 1 4
isLoginPage()
S
79 1 3